package com.gae.blore.client;

import java.util.List;

import com.gae.blore.client.domain.BusStop;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
/**
 * Interfaces to provide Bus station service
 * @author nss
 *
 */
@RemoteServiceRelativePath("busservice")
public interface BusStopService extends RemoteService{
	/**
	 * Retrieves all bus stations
	 * @return List of bus station
	 */
	public List<BusStop>  getAllBusStops();
	/**
	 * Retrieves Bus station details for the given identifier
	 * @param id Identifier 
	 * @return Bus station details
	 */
	public BusStop getBusStop(Long id);

}
